package com.hzqy.persistence.dao.industry;

import java.util.List;
import java.util.Map;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Repository;

import com.hzqy.persistence.dao.core.PersistenceDao;
import com.hzqy.web.vo.system.SysAreaVo;

@Repository
public class IndustryLinkDao  extends PersistenceDao<Object, Integer>{
	protected final Logger LOG = LoggerFactory.getLogger(getClass());

	public SysAreaVo selectParentSysAreaVo(int f_sa_id) {
		String namespace = this.getNamespace();
		return getSqlSession().selectOne(namespace + "selectParentSysAreaVo", f_sa_id);
	}

	public List<Map<String, String>> selectBedNo(Map<String, String> seachMap) {
		String namespace = this.getNamespace();
		return getSqlSession().selectList(namespace + "selectBedNo", seachMap);
	}
}
